package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.query.album.AlbumInfoQuery;
import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface SearchService {

    /**
     * 频道页数据展示
     * @param c1Id
     * @return
     */
    List<Map<String, Object>> channel(Long c1Id);

    /**
     * 带条件的搜索专辑
     * @param albumIndexQuery
     * @return
     */
    AlbumSearchResponseVo search(AlbumIndexQuery albumIndexQuery);

    /**
     * 搜索建议
     * @param keyword
     * @return
     */
    Set<String> completeSuggest(String keyword);
}
